CRPEJob::GetSectionFormat

Use CRPEJob::GetSectionFormat to retrieve the section format settings for a selected section in the specified report and supply the information by assigning values to the members of the structure, CRPESectionOptions. Use this method in order to edit and update the section formats and use CRPEJob::SetSectionFormat, to pass information back to CRPESectionOptions.

Syntax
BOOL GetSectionFormat (
        short sectionCode,
        CRPESectionOptions *options );
Parameters

sectionCode

Specifies the code for the report section for which you want to obtain format information. Use one of the PEP_XXX Section Codes Constants.

options

Specifies a pointer to CRPESectionOptions.

Returns

CRPEJob::GetSectionFormatFormula

Use CRPEJob::GetSectionFormatFormula to retrieve the text of a conditional section format formula as a string handle. Use this method to update the conditional section format formula and pass the changes back using CRPEJob::SetSectionFormatFormula.

Syntax
BOOL GetSectionFormatFormula (
        short areaCode,
        short sectionCode,
        short formulaName,
        CString &formulaText );
Parameters

areaCode

Specifies the code for the report area for which you want to set formatting options. For information on area codes, see Working with section codes.

sectionCode

Specifies the code for the report section(s) for which you want to get section format information. See the table of section constants supplied in Working with section codes.

formulaName

Specifies the name of the PEP_FFN_XXX Area/Section Format Formula Constants.

formulaText

Refers to the Cstring object passed with the specified formula text when CRPEJob::GetSectionFormatFormula has completed successfully.

Returns
Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com